﻿using System.Collections.Generic;
namespace BLL.Entities.Company
{
  public class CourtLocation : BaseBusinessEntity
  {
    public string Name { get; set; }
    public AddressInfo Address { get; set; }
    public ContactInfo Contact { get; set; }
    public int ICON { get; set; }
    public string Region { get; set; }
    public List<CourtProsecutor> Prosecutors { get; set; }
    public AddressInfo AppealCourtAddress { get; set; }
    public ContactInfo AppealCourtContact { get; set; }

    public CourtLocation()
    {
        Address = AddressInfo.CreateNewInstance<AddressInfo>();
        Contact = ContactInfo.CreateNewInstance<ContactInfo>();
        Prosecutors = new List<CourtProsecutor>();
        AppealCourtAddress = AddressInfo.CreateNewInstance<AddressInfo>();
        AppealCourtContact = ContactInfo.CreateNewInstance<ContactInfo>(); 
    }
  }
}